package com.qf.springboothelloworld2.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 千峰教育
 * @Company http://www.mobiletrain.org`/
 * @Version 1.0
 */
@RestController
public class HelloWorldController {

    @RequestMapping("/hello")
    public String hello(){
        return "success";
    }
}
